/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package collections;

import collections.list.MyArrayList;
import collections.list.interfaces.MyStack;
import collections.maps.MyHashMap;
import collections.maps.MyMap;
import collections.maps.MyTreeMap;
import collections.utils.MyCollections;
import java.util.*;

/**
 *
 * @author Iaroslav_Mazai
 */
public class Runner {

	public static void main(String[] args) {
		MyTreeMap map = new MyTreeMap();//new Comparator() {

		Random random = new Random();
		for (int i = 0; i < (1 << 10); i++) {
			Integer key = random.nextInt(500000);
			Integer value = random.nextInt(500000);
			map.put(key, value);
		}

		System.out.println(map);
	}
}
